<?php
error_reporting(E_ERROR);
ini_set("display_errors", true);

$debug = true;
include_once 'appinclude.php';
$appcanvasurl = 'http://apps.facebook.com/bumaride/'
?>
<style>
	body { font-family: Verdana, sans-serif; font-size: 10px; }
	h2 { font-size:12px; }
</style>

<h2>These are the cities to which we have people going.</h2>
<? 
	$rides = listRidesSummary();
	?>
	<div class="listTable">
		<? while($ride = mysql_fetch_assoc($rides) ){ ?>
			<div class="listRow">
				<? //print_debug($ride); ?>
				<div><a href="<?=$appcanvasurl?>searchForRide.php?zip=<?=$ride['City']?>,<?=$ride['State']?>" target="_top"> <?=$ride['City']?>,  <?=$ride['State']?></a></div>
			</div>
		<? } ?>
	</div>